#include <iostream>
#include "httplib.h"

int main()
{
    httplib::Client client("118.25.144.162", 8888);
    httplib::MultipartFormData item;
    item.name = "file";
    item.filename = "test.txt";
    item.content = "Hello World!";
    item.content_type = "text/plain";

    httplib::MultipartFormDataItems items;
    items.push_back(item);

    auto ret = client.Post("/multipart", items);
    std::cout << ret->status << std::endl;
    std::cout << ret->body << std::endl;

    return 0;
}